package main 
import "fmt"

func assertFunc(a interface{}) {
	switch a.(type) {
	case int:
		fmt.Println("int")
	case string:
		fmt.Println("string")
	default:
		fmt.Println("other")
	}
}
func main() {
	assertFunc(1)
	assertFunc("hello")
	assertFunc(true)
}